﻿using EShop.Net.Model.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EShop.Net.Auth
{
    /// <summary>
    /// 返回给uniapp的Token
    /// </summary>
    public class TokenObj<T>
    {
        /// <summary>
        /// 用户信息类
        /// </summary>
        public T userInfo { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        public string token { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public long expires { get; set; }
    }
}
